package com.ruoyi.thread.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

// 用户统计
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserStats {
    private Long userId;
    private Integer totalOrders;
    private BigDecimal totalSpent;
    private Integer unreadMessages;
    private LocalDateTime lastLoginTime;
    private Integer loginCountThisMonth;
}